package com.rc.saas.tenant.vo.hlht;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.rc.saas.tenant.common.annotation.Excel;

/**
 * @author wangzhengwei
 * @create 2021/8/17
 */
public class HlhtTenantOpenStationExportVo {

    @ExcelIgnore
    private Long openStationId;

    @ExcelIgnore
    private Long hlhtElectStationId;

    //直流电
    @ExcelIgnore
    private Integer directCurrent;

    //交流电
    @ExcelIgnore
    private Integer alternatingCurrent;

    @ExcelIgnore
    private String openStationOperateStatus;

    @ExcelIgnore
    private String tenantOperatorName;

    @ExcelIgnore
    private String tenantOperatorLoginName;

    @ExcelIgnore
    private String hlhtOpenforType;

    @ExcelProperty("充电站")
    private String stationName;

    @ExcelProperty("运营商")
    private String stationTenant;

    @ExcelProperty("充电桩")
    private String pileElecType;

    @ExcelProperty("站点状态")
    private String operateStatus;

    @ExcelProperty("是否开放")
    private String openStatus;

    @ExcelProperty("城市名称")
    private String cityName;

    @ExcelProperty("对外第三方互联名称")
    private String hlhtOperatorShortnames;

    public String getOpenStatus() {
        if (openStationId != null){
            return "是";
        } else{
            return "否";
        }
    }

    public void setOpenStatus(String openStatus) {
        this.openStatus = openStatus;
    }

    public String getOperateStatus() {
        if ("1".equals(operateStatus)){
            return "正常使用";
        } else if ("0".equals(operateStatus)) {
            return "异常(未上线)";
        }else if ("2".equals(operateStatus)){
            return "异常(下线)";
        }
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getPileElecType() {
        return "直" + directCurrent + "交" + alternatingCurrent;
    }

    public void setPileElecType(String pileElecType) {
        this.pileElecType = pileElecType;
    }

    public Long getOpenStationId() {
        return openStationId;
    }

    public void setOpenStationId(Long openStationId) {
        this.openStationId = openStationId;
    }

    public Long getHlhtElectStationId() {
        return hlhtElectStationId;
    }

    public void setHlhtElectStationId(Long hlhtElectStationId) {
        this.hlhtElectStationId = hlhtElectStationId;
    }

    public Integer getDirectCurrent() {
        return directCurrent;
    }

    public void setDirectCurrent(Integer directCurrent) {
        this.directCurrent = directCurrent;
    }

    public Integer getAlternatingCurrent() {
        return alternatingCurrent;
    }

    public void setAlternatingCurrent(Integer alternatingCurrent) {
        this.alternatingCurrent = alternatingCurrent;
    }

    public String getOpenStationOperateStatus() {
        return openStationOperateStatus;
    }

    public void setOpenStationOperateStatus(String openStationOperateStatus) {
        this.openStationOperateStatus = openStationOperateStatus;
    }

    public String getTenantOperatorName() {
        return tenantOperatorName;
    }

    public void setTenantOperatorName(String tenantOperatorName) {
        this.tenantOperatorName = tenantOperatorName;
    }

    public String getTenantOperatorLoginName() {
        return tenantOperatorLoginName;
    }

    public void setTenantOperatorLoginName(String tenantOperatorLoginName) {
        this.tenantOperatorLoginName = tenantOperatorLoginName;
    }

    public String getHlhtOpenforType() {
        return hlhtOpenforType;
    }

    public void setHlhtOpenforType(String hlhtOpenforType) {
        this.hlhtOpenforType = hlhtOpenforType;
    }

    public String getStationTenant() {
        return stationTenant;
    }

    public void setStationTenant(String stationTenant) {
        this.stationTenant = stationTenant;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getHlhtOperatorShortnames() {
        return hlhtOperatorShortnames;
    }

    public void setHlhtOperatorShortnames(String hlhtOperatorShortnames) {
        this.hlhtOperatorShortnames = hlhtOperatorShortnames;
    }
}
